from rest_framework import serializers
from user.models import User


class UserProfileSerializer(serializers.ModelSerializer):
    """ 用户-头像 模型类序列化器 """

    class Meta:
        model = User
        fields = ["avatar"]

